package org.fengdi.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.fengdi.account.entity.Account;

public interface AccountService extends IService<Account> {
    void decreaseMoney(double money, String userId) throws RuntimeException; // 扣钱

    Account getAccountByUserId(String userId);
}
